package com.robertux.leaderboard.util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.robertux.leaderboard.beans.RolUsuario;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface MethodExecutionSecurity {
	public boolean requireAuthentication() default true;
	public RolUsuario roleLevelAllowed() default RolUsuario.NINGUNO;
	public String method() default "POST";
}
